package com.cvpoc.hibernate.dao;

import java.util.List;
import java.util.Set;

import com.cvpoc.dto.ExperienceCompetenceDTO;
import com.cvpoc.dto.ExperienceDTO;

public interface ExperienceDao {
	public Integer createExperience(ExperienceDTO pExperienceDTO);

	public ExperienceDTO findExperienceById(int idExperience);

	public void deleteExperience(int pIdExperience);

	public void updateExperience(ExperienceDTO pExperienceDTO);

	public List<ExperienceDTO> findExperiencesByCollaborateur(
			int idCollaborateur);

	public Set<ExperienceCompetenceDTO> findListExperienceCompetenceByIdExperience(
			int pIdExperience);

	public void deleteExperienceCompetence(
			ExperienceCompetenceDTO pExperienceCompetenceDTO);

	public void createExperienceCompetence(
			ExperienceCompetenceDTO pExperienceCompetenceDTO);

	public void updateExperienceCompetence(
			ExperienceCompetenceDTO pExperienceCompetenceDTO);
}
